#!/bin/bash
cd uidl2-rest-archetype && mvn clean install  && mvn archetype:update-local-catalog && cd -
mvn archetype:generate \
  -Dmodule=risk-rest \
  -Dversion=1.0.0 \
  -DartifactId=risk.rest \
  -DgroupId=risk.rest \
  -Dpackage=risk.rest.rcv \
  -DarchetypeGroupId=edu.fudan.langlab \
  -DarchetypeArtifactId=uidl2-rest-archetype \
  -DarchetypeRepository=local \
  -DarchetypeCatalog=local \
  -Dinteractive=false
